Skip to content

Conversation

mikehardy
Copy link
Collaborator

@mikehardy mikehardy commented Sep 30, 2025

Description

This PR exposes the new realtime updates feature shipped in firebase-js-sdk 12.3.0 in react-native-firebase's "Other" platform implementation

  • Needed the same set of polyfills that the ai package needed, to work around react-native's deficient implementations of fetch, TextDecoder, and ReadableStream

  • I left the old onConfigUpdated APIs that have been in use since the original pre-JS-SDK implementation, but deprecated them

  • the new onConfigUpdate API has full typing etc and got its own batch of e2e tests, and is supported on all platforms

Release Summary

A single conventional commit that will trigger a feature release

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

The e2e tests very thoroughly probe realtime updates, and have recently been re-worked such that they are reliable in CI even (vs just running locally) so are enabled everywhere. The testing support here should be 100%, which is a good thing because the initial implementation was problematic and the e2e tests made it quite obvious it was not working.


Think react-native-firebase is great? Please consider supporting the project with any of the below:

Copy link

vercel bot commented Sep 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
react-native-firebase Ready Ready Preview Comment Oct 15, 2025 7:55pm

@mikehardy mikehardy added plugin: remote_config Firebase Remote Config type: enhancement Implements a new Feature platform: macOS (Other) labels Sep 30, 2025
@mikehardy mikehardy marked this pull request as draft September 30, 2025 12:47
@mikehardy mikehardy force-pushed the @mikehardy/other-remote-config-realtime branch from 19c975a to 950a9c6 Compare October 14, 2025 22:49
@mikehardy mikehardy force-pushed the @mikehardy/other-remote-config-realtime branch from 950a9c6 to 57ea71e Compare October 15, 2025 17:48
@mikehardy mikehardy changed the title feat(remote-config, other): expose new JS SDK implementation of realtime updates WIP feat(remote-config, other): official onConfigUpdate API, w/Other platform support Oct 15, 2025
@mikehardy mikehardy force-pushed the @mikehardy/other-remote-config-realtime branch from 57ea71e to a081a5c Compare October 15, 2025 18:30
@mikehardy mikehardy marked this pull request as ready for review October 15, 2025 18:30
…form support

The old API onConfigUpdated API is now deprecated but continues to work (and in
fact works on Other platform as well now)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: macOS (Other) plugin: remote_config Firebase Remote Config type: enhancement Implements a new Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant